package com.znufe.exam.viewmodel.admin.category;

import com.znufe.exam.base.BasePage;
import lombok.Data;

@Data
public class CategoryPageRequestVM extends BasePage {

    private Integer categoryId;

    private String concreteName;

    public static CategoryPageRequestVM wipeBlank(CategoryPageRequestVM model) {
        if (model.getConcreteName() != null) {
            model.setConcreteName(model.getConcreteName().trim());
        }
        return model;
    }

}
